-- 添加 ${tableComment!} 菜单,超级管理员无需配置权限添加了菜单刷新后即可,其他用户需要配置权限后刷新
insert into sys_menu(id, parent_id, menu_type, path, name, component, icon, title, sort_code, module_name, permission,
                    deleted, version, create_user, create_time, update_user, update_time)
VALUES (${sqlInfo.menuId}, 0, 2, '/${moduleName}/${entity.className?uncap_first}', '${moduleName}${entity.className}', '/${moduleName}/${entity.className?uncap_first}/index', 'Menu', '${tableComment!}页面', 99, '${moduleName}', null, 0, 0, ${sqlInfo.userId},
        '${date}', ${sqlInfo.userId}, '${date}')<#if genPage>,
       (${sqlInfo.listId}, ${sqlInfo.menuId}, 3, null, '${moduleName}${entity.className}', null, null, '分页查询', 1, '${moduleName}', '${moduleName}:${controller.url}:list', 0, 0, ${sqlInfo.userId},
        '${date}', ${sqlInfo.userId}, '${date}')</#if><#if genInfo>,
       (${sqlInfo.infoId}, ${sqlInfo.menuId}, 3, null, '${moduleName}${entity.className}', null, null, '信息', 2, '${moduleName}', '${moduleName}:${controller.url}:info', 0, 0, ${sqlInfo.userId},
        '${date}', ${sqlInfo.userId}, '${date}')</#if><#if genSave>,
       (${sqlInfo.saveId}, ${sqlInfo.menuId}, 3, null, '${moduleName}${entity.className}', null, null, '新增', 3, '${moduleName}', '${moduleName}:${controller.url}:save', 0, 0, ${sqlInfo.userId},
        '${date}', ${sqlInfo.userId}, '${date}')</#if><#if genUpdate>,
       (${sqlInfo.updateId}, ${sqlInfo.menuId}, 3, null, '${moduleName}${entity.className}', null, null, '更新', 4, '${moduleName}', '${moduleName}:${controller.url}:update', 0, 0, ${sqlInfo.userId},
        '${date}', ${sqlInfo.userId}, '${date}')</#if><#if genDeleted>,
       (${sqlInfo.deleteId}, ${sqlInfo.menuId}, 3, null, '${moduleName}${entity.className}', null, null, '删除', 5, '${moduleName}', '${moduleName}:${controller.url}:delete', 0, 0, ${sqlInfo.userId},
        '${date}', ${sqlInfo.userId}, '${date}')</#if><#if genImport>,
       (${sqlInfo.importId}, ${sqlInfo.menuId}, 3, null, '${moduleName}${entity.className}', null, null, '导入', 6, '${moduleName}', '${moduleName}:${controller.url}:import', 0, 0, ${sqlInfo.userId},
        '${date}', ${sqlInfo.userId}, '${date}')</#if><#if genExport>,
       (${sqlInfo.exportId}, ${sqlInfo.menuId}, 3, null, '${moduleName}${entity.className}', null, null, '导出', 7, '${moduleName}', '${moduleName}:${controller.url}:export', 0, 0, ${sqlInfo.userId},
        '${date}', ${sqlInfo.userId}, '${date}')</#if>;